package com.ecut.xzh.service;

import com.ecut.xzh.dto.RoommatePageDTO;
import com.ecut.xzh.result.PageResult;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.UnsupportedEncodingException;

/**
 * @author XZH
 */
public interface RoommateService {
    /**
     *  分页查询所有用户信息
     * @param roommatePageDTO
     * @return
     */
    PageResult pageRoommate(RoommatePageDTO roommatePageDTO);

    /**
     * 导出Excel
     * @param response
     * @throws IOException
     */
    void exportExcel(HttpServletResponse response) throws IOException;
}
